package com.authorization.demo.service;

import com.authorization.demo.entity.Menu;
import com.authorization.demo.vo.R;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @author 梁陈意
 */
public interface MenuService extends IService<Menu> {
    int menuType(String menuName);
    List<Menu> findSubmenu(String menuName);
    boolean delCurrentmenu(String menuName);
    R delmenu(String menuName);
    boolean findMenuexist(String menuName);
    List<String> findUsermenu(String userName);
    List<String> findSubmenuName(String menuName);
}
